<?php



function pushbutton_preprocess_node(&$variables, $hook) 
{
 	 $variables['above_comments'] = theme('blocks', 'above_comments');

}

/**
* Implementation of HOOK_theme().
*/
function gooners_theme(){
  return array(
    'comment_form' => array(
      		'arguments' => array('form' => NULL),
    ),
    'search_theme_form' => array(
      'arguments' => array('form' => NULL),
    ),
  );
}


function gooners_search_theme_form($form) {
  $form['search_theme_form']['#title'] = NULL;
  $form['search_theme_form']['#size']	= 50;
  return drupal_render($form);
 
}


// theme the crap out of the comment form
function gooners_comment_form($form) {
  // Add some intro text.
  $form['intro']['#value']  = t('<h3>Leave a comment, suggestion or ask a question!</h3>');
  // Wrap the intro in a div for themeing.
  $form['intro']['#prefix']  = '<div class="comment-guidelines">';
  $form['intro']['#suffix']  = '</div>';
  // Weight it so it floats to the top.
  $form['intro']['#weight']  = -40;
 
 $form['name']['#title'] = 'Dein Name';
 $form['name']['#value'] = NULL;
 
 $form['homepage']['#title'] = 'Webseite'; 
 
  // Make the text-area smaller.
  $form['comment_filter']['comment']['#rows']   = 5;
  // Change the text-area title
  $form['comment_filter']['comment']['#title']  = t('Your message');
  // Add a div wrapper for themeing.
  $form['comment_filter']['comment']['#prefix'] = '<div class="comment-form-prefix">';
  $allowedtags =  htmlspecialchars('<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><p><img><b>');
  $form['comment_filter']['comment']['#suffix']  = '<p># Internet- und E-Mail-Adressen werden automatisch umgewandelt. # Erlaubte HTML tags: '.$allowedtags.' </p></div>';

  // Remove input formats information.
  $form['comment_filter']['format'] = NULL;
 #var_dump($form);

  //dsm($form);
  return drupal_render($form);
}



?>